from django.urls import path
from drivinginfo import views
from django.conf import settings

urlpatterns = [
    path('drivinginfo/list/', views.DrivinginfoList.as_view(), name='driving-list'),
    path('drivinginfo/detail/<int:pk>', views.DrivinginfoDetail.as_view(), name='driving-detail'),
    path('drivingmode/list/', views.DrivingModeList.as_view(), name='driving-mode-list'),
    path('logisticsmode/list/', views.LogisticsModeList.as_view(), name='logistics-mode-list'),
    path('gps/list/', views.GPSList.as_view(), name='gps-list'),
    path('driving&logistics/list/', views.DrivingAndLogisticsMode.as_view(), name='driving-logistics-list'),
    path('description/', views.DataDescriptionInfo.as_view(), name='data-description'),
    path('basicinfo/list/', views.BasicInfoList.as_view(), name='basic-info-list'),
    path('fuelinfo/list/', views.FuelInfoList.as_view(), name='fuel-info-list'),
    path('fuelinfo/detail/', views.FuelInfoDetail.as_view(), name='fuel-info-detail'),
    path('workingplace/list/', views.WorkingPlaceList.as_view(), name='working-place-list'),
    path('allvehicle/list/', views.AllVehicleList.as_view(), name='all-vehicle-list'),
    path('load/upload/', views.LoadReceiveFile.as_view(), name='load-file-receive'),
    path('load/analysis/', views.LoadAnalysis.as_view(), name='load-analysis'),
    path('load/list/', views.LoadManageFile.as_view(), name='load-file-manage'),
    path('load/pictures/', views.LoadManagePicture.as_view(), name='load-picture-manage'),
]
